package com.dou.mapper;

import com.dou.pojo.product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA 2021.1 x64
 *
 * @Author: 窦义超
 * @Date: 2021/07/2021/7/29/12:32
 * @Description:
 */
@Mapper
public interface ProductDao {
    public List<product> getAllProducts();
    public void addProduct(product product);
    public product getProductById(int id);
    public void updatePro(product product);
    public void updatePro2(product product);
    public void dropProById(int pro_id);
}
